package com.wang.elm.feign;


import com.wang.elm.entity.User;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name="user-server-10100")
public interface UserServer {
    @PostMapping("/getUserByIdByPass")
    User getUserByIdByPass(User user);
}
